package com.atom.module.camera.document;

import android.content.Context;

import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumented test, which will execute on an Android device.
 *
 * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
        assertEquals("com.atom.module.camera.document.test", appContext.getPackageName());
    }

    @Test
    public void useAppMatrix() {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
        System.out.println(appContext.getPackageName());


        //2022-03-29 15:20:47.533 8686-8686/com.simplemobiletools.camera.debug E/Logcat: 2022-03-29T15:20:47.529+0800: main: com.atom.module.camera.document.ui.SingleHandleActivity.lambda$onKeyDown$8$SingleHandleActivity(SingleHandleActivity.java:268):
        //         1080--1440
        //
        //    Point(743, 264)
        //    Point(743, 1266)
        //    Point(138, 1232)
        //2022-03-29 15:20:54.470 8686-8686/com.simplemobiletools.camera.debug E/Logcat: 2022-03-29T15:20:54.467+0800: main: com.atom.module.camera.document.ui.SingleHandleActivity.lambda$onKeyDown$8$SingleHandleActivity(SingleHandleActivity.java:268):
        //         1440--1080
        //    Point(285, 344)
        //    Point(1279, 260)
        //    Point(1253, 945)
        //
    }


}
